projects
/
gtk4.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
8c68050
)
overlay: Silence gcc warnings
author
Benjamin Otte
<otte@redhat.com>
Tue, 23 Apr 2013 18:13:33 +0000
(14:13 -0400)
committer
Benjamin Otte
<otte@redhat.com>
Tue, 23 Apr 2013 18:13:51 +0000
(14:13 -0400)
gtk/gtkoverlay.c
patch
|
blob
|
history
diff --git
a/gtk/gtkoverlay.c
b/gtk/gtkoverlay.c
index c69e104556f51001561268a13de030b536d9652f..75ca60d9d5b0c5ee8f3f385fe08cdcbba8987a3c 100644
(file)
--- a/
gtk/gtkoverlay.c
+++ b/
gtk/gtkoverlay.c
@@
-399,6
+399,10
@@
gtk_overlay_get_child_position (GtkOverlay *overlay,
case GTK_ALIGN_END:
alloc->x += main_alloc.width - req.width;
break;
+ case GTK_ALIGN_BASELINE:
+ default:
+ g_assert_not_reached ();
+ break;
}
alloc->y = main_alloc.y;
@@
-418,6
+422,10
@@
gtk_overlay_get_child_position (GtkOverlay *overlay,
case GTK_ALIGN_END:
alloc->y += main_alloc.height - req.height;
break;
+ case GTK_ALIGN_BASELINE:
+ default:
+ g_assert_not_reached ();
+ break;
}
return TRUE;